<template>
  <demoBlock title="组件调用" padding>
    <vcu-cell is-link title="组件调用" @click="onClickDialog" />
    <vcu-dialog v-model:show="show" title="标题" show-cancel-button>
      <p>1111111</p>
      <p>1111111</p>
      <p>1111111</p>
    </vcu-dialog>
  </demoBlock>
</template>

<script>
import { defineComponent, ref } from "vue";
import { Dialog } from "../../../components";
export default defineComponent({
  setup() {
    const show = ref(false);
    const onClickDialog = () => {
      show.value = true;
    };
    return { show, onClickDialog };
  },
});
</script>
